﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.ComponentModel.DataAnnotations;

namespace DNA.Mvc.Community
{
    [Table("community_ranks")]
    public class Rank
    {
        [Key]
        public int ID { get; set; }

        [MaxLength(1024)]
        public string ImageUrl { get; set; }
        
        [Required]
        public bool IsStart { get; set; }

        [Required]
        public int MinimumPosts { get; set; }

        [MaxLength(255),Required]
        public string Name { get; set; }
    }
}
